﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "StarrySkyUserWidget.generated.h"

/**
 * 
 */
UCLASS()
class STARRYSKY_API UStarrySkyUserWidget : public UUserWidget
{
	GENERATED_BODY()
public:
	UFUNCTION(BlueprintCallable)
	void SetWidgetController(UObject* InWidgetController);
	UPROPERTY(BlueprintReadOnly)
	TObjectPtr<UObject> WidgetController;
protected:
	// BlueprintImplementableEvent 表示这个函数可以在蓝图中实现
	UFUNCTION(BlueprintImplementableEvent)
	void WidgetControllerSet();
};
